/**
 * Created by x298017064010 on 17/3/23.
 *
 * 相当于store 的计算属性方便子组件在任意场合调用, 调用: this.$store.getters.getCurrentCount
 */
const storage = weex.requireModule('storage');

// root
export function getCurrentCount(state) {
    return state.count
}

// todo
export function getTodoList(state) {
    return state.todo.todoList
}